home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / tip / boxing6.tip < prev    next >
Text File  |  1993-09-15  |  1KB  |  45 lines

  1. % This macro source file is from the four volume series
  2. % "TeX in Practice" by Stephan von Bechtolsheim, published
  3. % 1993 by Springer-Verlag, New York.
  4. % Copyright 1993 Stephan von Bechtolsheim.
  5. % No warranty or liability is assumed.
  6. % This macro may be copied freely if no fees other than
  7. % media cost or shipping charges are charged and as long
  8. % as this copyright and the following source code itself
  9. % is not changed. Please see the series for further information.
  10. %
  11. % Version: 1.0
  12. % Date: May 1, 1993
  13. %
  14. %
  15. % This source code is documented in 9.3.7, p. I-332.
  16. % Original source in file "boxit.TEX", starting line 996.
  17. \wlog{L: "boxing6.tip" ["boxit.TEX," l. 996, p. I-332]}%
  18. % This file DOES belong to format "texip."
  19. \InputD{box-zero.tip}
  20. \InputD{boxing5.tip}
  21. \catcode`\@ = 11
  22. \def\BoxingE #1{%
  23.     \hbox{% 
  24.         \setbox\@BoxingBox = #1%
  25.         \setbox\@BaseLineLeaders = \hbox to \wd\@BoxingBox{%
  26.             \xleaders\hbox to 4pt{%
  27.                 \hskip 1pt
  28.                 \vrule depth 0.4pt height 0.4pt width 2pt
  29.                 \hfil
  30.             }%
  31.             \hfil
  32.         }%
  33.         \ZeroBox{\@BaseLineLeaders}% 
  34.         \ifBulletAndBaseLine
  35.             \box\@BaseLineLeaders
  36.         \fi
  37.         \RulesOnSide
  38.             {\ht\@BoxingBox}%
  39.             {\dp\@BoxingBox}% 
  40.             {\wd\@BoxingBox}% 
  41.         \box\@BoxingBox
  42.     }%
  43. }
  44. \catcode`\@ = 12
  45.